package com.ryskoo.catering.producttag.domain;

import com.ryskoo.framework.core.bean.BasicPO;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 菜品标签，不与商户管理，由平台统一管理
 */
@Entity
@Table(name = "cater_product_tag")
public class ProductTagPO extends BasicPO {

    /** 标签名称 */
    @Column(name = "name",columnDefinition = "varchar",length = 20)
    private String name;
    /** 标签图标 */
    @Column(name= "icon",columnDefinition = "varchar",length = 100)
    private String icon;
    /** 标签排序位置 */
    @Column(name = "position",columnDefinition = "int")
    private int position;
    /** 所属商户uuid，暂时不用 */
    @Column(name = "vendor_uuid",columnDefinition = "char",length = 32)
    private String vendorUuid;
    /** 所属商户名称，暂时不用 */
    @Column(name = "vendor_name",columnDefinition = "varchar",length = 30)
    private String vendorName;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public String getVendorUuid() {
        return vendorUuid;
    }

    public void setVendorUuid(String vendorUuid) {
        this.vendorUuid = vendorUuid;
    }

    public String getVendorName() {
        return vendorName;
    }

    public void setVendorName(String vendorName) {
        this.vendorName = vendorName;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}
